/**
 * Student.java
 * 2016-9-28
 * 
 */
package com.zcy.entity;

/**
 * @author 周成瑜
 * 
 */
public class Student {
	private int id;
	private String name;
	private float price;
	

	/**
	 * @param id
	 * @param name
	 * @param price
	 */
	public Student(int id, String name, float price) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", price=" + price
				+ "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}
	
	/**
	 * 
	 */
	public Student() {
	}
}
